Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "impulse-button">
With this node you can add a button to an existing dashboard or a new one created by the node. If this button is pressed, it outputs a message from the top output, if the button is released, it outputs a message from the bottom output.